import MessageTemtale from './message'

import success from './success/main'
import error from './error/main'

export default Vue => {
  Vue.component(MessageTemtale.name, MessageTemtale);
  Vue.prototype.$message = {
    success,
    error
  }
}
